The Link element indicates a relationship between the document and some other object. A document may have any number of Link elements.

The Link element is empty (does not have a closing element), but takes the same attributes as the Anchor element.

The <LINK> element would typically be used to provide pointers to related indexes, or glossaries. Links can also be used to indicate a static tree structure in which the document was authored by pointing to a "parent" and "next" and "previous" document. Mosaic (v3.0 for Windows 95/NT4) totally supports the <LINK> element and presents the user with a toolbar populated with buttons for every <LINK> element specified.<LINK REL="..."> is one that Mosaic recognises, it will show the toolbar button with a pre-set graphic, together with whatever text is specified in the TITLE attribute, as the text on the button. The remote location, specified in the HREF attribute is the location that Mosaic will browse to when the button is clicked. Below is a list of the possible preset REL attributes that Mosaic recognises together with the graphic it uses for the toolbar button (on Windows 95 systems).

REL="stylesheet"
This details the stylesheet to be used for the current page. Only Internet Explorer currently supports style sheets and Mosaic presents no pre-set graphic for this but supplies 'Stylesheet' if no TITLE attribute is given.
REL="home" ()
This can be used to link to any page that the browser should consider the 'home' page of the current site. Supplies 'Home' if no TITLE attribute is given.
REL="toc"|"contents" ()
This directs users to the table of contents for your site. 'toc' and 'contents' are interchangeable as the REL attribute value and Mosaic supplies 'ToC' if no TITLE attribute is given.
REL="index" ()
This can be used to link to the index of your site. Supplied with 'Index' if no TITLE attribute is given.
REL="glossary" ()
This creates a link to the glossary of your site. Supplies 'Glossary' if no TITLE attribute is given.
REL="copyright" ()
If your site contains a page detailing copyright attributions, it can be linked to by this REL attribute value. Mosaic supplies 'Copyright' if no TITLE attribute is given.
REL="up"|"parent" (|)
This can be used to set the location of the current documents parent document. For example, your site may conform to a fairly rigid navigation structure and this attribute value can be used to link the current document to an overview of the current document set. Supplied with 'Up' or 'Parent' if no TITLE is given.
REL="child" ()
This can be used to set the location of the current documents 'child' document(s). For example, your site may conform to a fairly rigid navigation structure and this attribute value can be used to link the current document to any of the documents in the level below. I.e. from an overview document to a detail document. Supplied with 'Child' if no TITLE is given.
REL="next" ()
As in the above case, this can be used to provide a link to the next document in the current document set. Mosaic supplies 'Next' if no TITLE attribute is given.
REL="previous" ()
As above, this can be used to link to the previous document in the flow of the current document set. Supplied with 'Previous' if no TITLE attribute is given.
REL="last"|"end" ()
This can be used to link to the last document in the current document set. Mosaic supplies 'End' if no TITLE is given.
REL="first" ()
This can be used to link to the first document in the current document set. Mosaic supplies 'Begin' if no TITLE is given.
REL="help" ()
If your site contains a 'help' file (i.e. tips on site navigation for example), then it can be linked to via this atribute setting. Mosaic supplies 'Help' if no TITLE is given.

You can set the REL attribute to be anything you like, as well as the above pre-sets. Mosaic will supply a default image () for these toolbar buttons and will use the text 'Bookmark' if no TITLE attribute is provided.

Mosaic also supports use of the REV="made" attribute/value. This should be used to denote the author of the document and the HREF attribute should use a HREF="mailto:address@site.com" structure. Mosaic will use it's default graphic (see above) and default text ('Bookmark') if no TITLE attribute is given.

The <LINK> element represents one of the primary style sheet inclusion mechanism elements. It can be used to specify the location of the style sheet that is to be used for the document.

<HTML>
<HEAD>
<TITLE>This HTML document uses a style sheet</TITLE>
<LINK REL="stylesheet"
TYPE="text/css"
HREF="http://www.stylesheets.com/sheets/formal.css"
TITLE="formal">
</HEAD>
<BODY>
Rest of the document goes here
</BODY>
</HTML>

In the above HTML fragment, the <LINK> element points to the file "formal.css" at the given URL. It tells the browser that :

For more information about these specific attributes, see the <A> section and for more general information about style sheets, see the style sheets section.


<ISINDEX> Document Structure Elements Overview <NEXTID>